package cn.butcher.pojo;

/**
 * 学生实体类
 */
public class Student {
    /**
     * 学号
     */
    private int stId;
    /**
     * 姓名
     */
    private String stName;
    /**
     * 性别
     */
    private char stSex;
    /**
     * 专业
     */
    private String stMajor;
    /**
     * 年级
     */
    private int stGrade;
    /**
     * 班级
     */
    private int stClass;
    /**
     * 电话
     */
    private int stPhone;
    /**
     * 学院
     */
    private College college;

    public int getStId() {
        return stId;
    }

    public void setStId(int stId) {
        this.stId = stId;
    }

    public String getStName() {
        return stName;
    }

    public void setStName(String stName) {
        this.stName = stName;
    }

    public char getStSex() {
        return stSex;
    }

    public void setStSex(char stSex) {
        this.stSex = stSex;
    }

    public String getStMajor() {
        return stMajor;
    }

    public void setStMajor(String stMajor) {
        this.stMajor = stMajor;
    }

    public int getStGrade() {
        return stGrade;
    }

    public void setStGrade(int stGrade) {
        this.stGrade = stGrade;
    }

    public int getStClass() {
        return stClass;
    }

    public void setStClass(int stClass) {
        this.stClass = stClass;
    }

    public int getStPhone() {
        return stPhone;
    }

    public void setStPhone(int stPhone) {
        this.stPhone = stPhone;
    }

    public College getCollege() {
        return college;
    }

    public void setCollege(College college) {
        this.college = college;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stId=" + stId +
                ", stName='" + stName + '\'' +
                ", stSex=" + stSex +
                ", stMajor='" + stMajor + '\'' +
                ", stGrade=" + stGrade +
                ", stClass=" + stClass +
                ", stPhone=" + stPhone +
                ", college=" + college +
                '}';
    }
}
